import { Base_model } from '../../util/base_model.js';

class Product_model extends Base_model {
  constructor() {
    super();
  }

  read(id, callback) {
    var params = {
      url: '/products/'+id,
      successCallback: function (res) {
        callback && callback(res);
      }
    };
    this.request(params);
  }
}

export {Product_model}